Microsoft DirectX 8.1 (C++)

CBaseStreamControl::Flushing

The Flushing method notifies the base class that the pin has started or stopped flushing.

Syntax

void Flushing(
    BOOL bInProgress
);

Parameters

bInProgress

Specifies a Boolean value that indicates whether the pin is flushing. Use the value TRUE when the pin begins a flush operation, and FALSE when the pin ends a flush operation.

Return Values

This method does not return a value.

Remarks

The pin must call this method from within its IPin::BeginFlush and IPin::EndFlush methods. Specify TRUE in BeginFlush and FALSE in EndFlush.

This method causes the CBaseStreamControl::CheckStreamState method to stop waiting. While the pin is flushing, CheckStreamState always returns STREAM_DISCARDING.

See Also